{extends file="./main.tpl"}
{block name="head"}
{literal}
<script type="text/javascript">
          function heisit() {
                  if(form1["oldPassword"]["value"].length==3)
                        return false;
                   if(form1["newPassword"]["value"].length==3)
                        return false;
                  return true;
          }
      </script>
{/literal}
{/block}
{block name="body"}
<div data-role="content">
<form name="form1" action="{$smarty.server.PHP_SELF}" method="POST" data-ajax="false">
 	<div data-role="fieldcontain">	  
 	  <font color='red' align="center">{"$msg"}</font>
 	</div>  	
  <div data-role="fieldcontain">
  		<label for="oldPassword_name"><strong>Old Password : </strong></label>
  		<input type="password" name="oldPassword" class="oldPassword" autofocus="autofocus"  id="oldPassword" style="width:30%;" size="60" />
  </div>
  <div data-role="fieldcontain">
  		<label for="newPassword_name"><strong>New Password : </strong></label>
  		<input type="password" name="newPassword" class="newPassword_input" id="newPassword" style="width:30%;" size="60" />
 	</div>
 	<div data-role="fieldcontain">	  
      <label for="retypePassword_name"><strong>Re-Type New Password : </strong></label>
			<input type="password" name="confNewPassword" class="retypePassword_input" id="confNewPassword" style="width:30%;" />
 	</div>
	<div>	
 		  <input type="submit" name="newPasswordSet" value="Change" class="buttonStyle">
</form>  
</div>
{/block}


